package com.farewell.hotel.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author Farewell
 * @date 2021/4/26
 */
@Repository
public interface UserAuthorityMapper {
    /**
     * 添加用户权限
     * @param userId 用户主键
     * @param authorityId 权限主键
     */
    void addUserAndAuthority(@Param("userId")Long userId, @Param("authorityId")Long authorityId);
}
